<template>
  <div class="box">
    <button @click="btn">点击发送</button>
  </div>
</template>

<script>
export default {
  name: 'A',
  methods: {
    btn() {
      this.$bus.$emit('atob', Date.now())
    }
  }
}
</script>

<style lang="scss" scoped>
.box {
  width: 200px;
  height: 200px;
  border: 20px solid red;
}
</style>
